﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MuzoBlog.Core.BussinessLogic.Blog.Entities
{
    public class Comment
    {
        public Guid CommentID { get; set; }

        public Guid PostID { get; set; }

        public string Author { get; set; }

        public string AuthorEmail { get; set; }

        public string AuthorUrl { get; set; }

        public string AuthorComment { get; set; }

        public string AuthorIP { get; set; }

        public CommentType Type { get; set; }

        public DateTime CommentDate { get; set; }

        public DateTime CommentDateGMT { get; set; }
    }

    [Flags]
    public enum CommentType : byte
    {
        UserComment = 0,
        PingBack = 1,
        TrackBack = 2
    }
}
